Php simplexml node `gphoto:width`?

$width = $xml->channel->item->children('gphoto',true)->width; $height = $xml->channel->item->children('gphoto',true)->height.

Still nothing return. – yuli chika Aug 3 at 20:09 Hm, works here ... Then again, your original code works here I see now. – Wrikken Aug 3 at 20:13 I can get echo $xml->channel->managingEditor; but still not get echo $xml->channel->item0->children('gphoto',true)->height; I use php 5.2.11.

– yuli chika Aug 3 at 20:16 What does $gphoto->asXML() give you? And/or $xml->channel->item->asXML();? – Wrikken Aug 3 at 20:21 long long thing http://picasaweb.google.com/data/entry/base/user/114098057261214889617/albumid/?5282805114683350385/photoid/ ... http://picasaweb.google.com/114098057261214889617/Florence#5282805570581096802V?irginia LuporiView of Florence & the Duomo from the Piazzale Michaelangolo Florence ItalyDSC07484_2.

JPG43.75279 11.236901943.77279 11.29290243.76279 11.264902 – yuli chika Aug 3 at 20:25.

I find it easier to remove the namespaces when dealing with the google API feeds. $response = str_replace('gphoto:', '', $response).

2 It will make life only harder if you ever have to deal with real XML manipulation. A hard vote down because I consider this a very bad practice to get into. It will in this particular case of course 'work', but is prone to breakage.

– Wrikken Aug 3 at 20:19.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions